#pragma once

#include <string>

//自定义异常类
class ContactException {
public:
    ContactException(std::string str = "A problem") : message(str) {}
    const std::string what() const { return message; }

private:
    std::string message;
};